package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程记录对象 ds_class
 *
 * @author tyro
 * @date 2025-03-23
 */
public class DsClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课id */
    private Long classId;

    /** 课名称 */
    @Excel(name = "课名称")
    private String className;

    /** 课组id */
    @Excel(name = "课组id")
    private Long kzId;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;
    private String teacherName;


    /** 状态(0正常1停用) */
    @Excel(name = "状态(0正常1停用)")
    private String status;

    /** 学生数量 */
    private Long studentCount;

    /** 删除标志(0正常1删除) */
    private String delFlag;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setKzId(Long kzId)
    {
        this.kzId = kzId;
    }

    public Long getKzId()
    {
        return kzId;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public Long getStudentCount() {
        return studentCount;
    }

    public void setStudentCount(Long studentCount) {
        this.studentCount = studentCount;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("collegeId", getCollegeId())
            .append("className", getClassName())
            .append("kzId", getKzId())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("studentCount", getStudentCount())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
